# Description: GLib'in GObject sınıfı için Python 2'nin bağlantılarını sağlar.
# URL: http://www.gnome.org/
# Packager: milisarge
# Depends on: python-cairo xorg-libxxf86vm gobject-introspection

name=python-gobject2
version=2.28.6
release=1

source=( http://ftp.gnome.org/pub/gnome/sources/pygobject/${version%.*}/pygobject-$version.tar.xz
         pygobject-2.28.6-fixes-1.patch
         pygobject-2.16.1-fixdetection.patch)
	
build() {
cd pygobject-$version
patch -Np1 -i $SRC/pygobject-2.28.6-fixes-1.patch
patch -Np1 -i $SRC/pygobject-2.16.1-fixdetection.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}  
